package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 焊缝管理对象 product_welding
 * 
 * @author ruoyi
 * @date 2022-12-12
 */
public class ProductWelding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 焊缝编号 */
    @Excel(name = "焊缝编号")
    private String weldingNum;

    /** 工件编号 */
    @Excel(name = "工件编号")
    private String productNum;

    /** 焊道数量 */
    @Excel(name = "焊道数量")
    private String weldingCount;

    /** 工件名称 */
    @Excel(name = "工件名称")
    private String productName;

    /** 工件信息 */
    @Excel(name = "工件信息")
    private String productInfo;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String otherInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWeldingNum(String weldingNum) 
    {
        this.weldingNum = weldingNum;
    }

    public String getWeldingNum() 
    {
        return weldingNum;
    }
    public void setProductNum(String productNum) 
    {
        this.productNum = productNum;
    }

    public String getProductNum() 
    {
        return productNum;
    }
    public void setWeldingCount(String weldingCount) 
    {
        this.weldingCount = weldingCount;
    }

    public String getWeldingCount() 
    {
        return weldingCount;
    }
    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() 
    {
        return productName;
    }
    public void setProductInfo(String productInfo) 
    {
        this.productInfo = productInfo;
    }

    public String getProductInfo() 
    {
        return productInfo;
    }
    public void setOtherInfo(String otherInfo) 
    {
        this.otherInfo = otherInfo;
    }

    public String getOtherInfo() 
    {
        return otherInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("weldingNum", getWeldingNum())
            .append("productNum", getProductNum())
            .append("weldingCount", getWeldingCount())
            .append("productName", getProductName())
            .append("productInfo", getProductInfo())
            .append("otherInfo", getOtherInfo())
            .toString();
    }
}
